aio-search-results {
  z-index: 10;

  .search-results {
    display: flex;
    flex-direction: row;
    overflow: auto;
    padding: 0px 32px;
    border-top: 68px solid transparent;
    width: auto;
    max-height: 95vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background-color: $darkgray;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    box-sizing: border-box;

    .search-area {
      margin: 0 auto;
      padding: 16px;

      .search-section-header {
        @include font-size(16);
        font-weight: 400;
        margin: 10px 0px 5px;
        text-transform: uppercase;
        color: $white;
      }

      ul {
        margin: 0;
        padding: 0;

        li {
          list-style: none;
        }

        .search-result-item {
          @include font-size(14);
          @include line-height(24);
          color: $lightgray;
          display: inline-block;
          font-weight: normal;
          padding: 0.6rem 0;

          &a {
            text-decoration: none;
          }

          &:hover {
            color: $white;
          }
        }

        &.priority-pages {
          padding: 0.5rem 0;

          .search-result-item {
            font-weight: bold;
          }
        }
      }
    }

    .no-results {
      color: $white;
      text-align: center;
      margin: 16px;
    }

    a {
      color: $white;
      font-weight: 500;
    }

    @media (max-width: 600px) {
      display: block;
    }
  }

  &.embedded {
    .search-results {
      padding: 0;
      color: inherit;
      max-height: 100%;
      position: relative;
      background-color: inherit;
      box-shadow: none;

      .search-area {
        .search-section-header {
          color: $darkgray;
        }

        .search-result-item {
          color: lighten($darkgray, 10);

          &:hover {
            color: $accentblue;
          }
        }
      }

      .no-results {
        color: $darkgray;
      }

      a {
        color: $blue;
      }
    }
  }
}
